from openai import OpenAI

client = OpenAI(api_key="sk-xU64G4hXJ4L47ko3764958119dB245D2BdEcE528767dA1Da", base_url="https://vip.apiyi.com/v1")

embeddings_response = client.embeddings.create(
    model="text-embedding-ada-002",
    input="吃的好！服务员服务也好.....",
    encoding_format="float"
)

print(embeddings_response.data[0].embedding)